{extend name="light-year/layout/master/detail" /}

{block name="title"}文章标签管理{/block}
{block name="page-title"}文章标签{/block}

{block name="content"}
<input name="label_id" class="form-control" type="hidden" value="{if $detail}{$detail->label_id}{/if}" />
<div class="form-group">
    <label><span class="text-danger">*</span> 标签名称：</label>
    <input type="text" class="form-control" name="label_name" value="{if $detail}{$detail->label_name}{/if}" placeholder="输入标签名称" />
    <small class="help-block">
        <i class="mdi mdi-information"></i>
        唯一标识
    </small>
</div>
<div class="form-group">
    <button type="submit" class="btn btn-primary ajax-post" target-form="add-form">确 定</button>
    <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
</div>
{/block}